package com.qishuihe.design.application.template;

import com.qishuihe.basedomain.infrastructure.aspect.LogAnnotation;

import com.qishuihe.designinterface.template.ITemplateSchema;
import com.qishuihe.designinterface.template.dto.QuerySchemaParam;
import com.qishuihe.designinterface.template.vo.TemplateConfigVO;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;


//@RequestMapping("/Schema")
@Api(tags = "流程模板配置相关服务")
@RestController
@Slf4j
public class SchemaControl implements ITemplateSchema {


//    @LogAnnotation
    public TemplateConfigVO querySchema(QuerySchemaParam querySchemaParam) {
        TemplateConfigVO templateConfigVO =   new TemplateConfigVO();
        templateConfigVO.setTemplateCode("zcf_12345");
        log.info(templateConfigVO.getTemplateCode());
//        templateConfigVO.setTemplateID(querySchemaParam.getTemplateID());
        return templateConfigVO ;
    }
}
